#include <bits/stdc++.h>
using namespace std;

long long func(int base, int power)
{
	long long result = 1;
	while (power > 0)
	{
		if (power & 1)
		{
			result = result * base;
		}
		power /= 2;
		base = base * base;
	}
	return result;
}
int main()
{
	cout << func(2, 11) << endl;
	return 0;
}